package com.dgut.doctorservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dgut
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PatientInfo对象", description="")
public class PatientInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "患者id")
      @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "患者身份证")
    private String idcard;

    @ApiModelProperty(value = "患者名字")
    private String name;

    @ApiModelProperty(value = "患者联系方式")
    private String phone;

    @ApiModelProperty(value = "患者登录密码")
    private String password;

    @ApiModelProperty(value = "患者性别（1：男 2：女）")
    private Integer sex;

    @ApiModelProperty(value = "患者年龄")
    private Integer age;

    @ApiModelProperty(value = "登录昵称")
    private String loginName;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private Date gmtUpdate;


}
